package com.totoro.service;

import com.totoro.pojo.IndexCategory;
import com.totoro.pojo.Product;
import com.totoro.pojo.Shop;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author TOTORO
 * @date 2021/8/30 23:20
 */
public interface IndexService {

    List<IndexCategory> findAllOneCategory();

    List<IndexCategory> findAllTwoCategoryByOneCategoryId(int icId);

    List<IndexCategory> findAllThreeCategoryByTwoCategoryId(int icId);

    Integer updateCategoryDetail(IndexCategory indexCategory);

    List<Shop> findMaxScoreThreeAShop();

    Map<Shop, List<Product>> findMaxDealProductByShop();
}
